const cloud = require('wx-server-sdk')

cloud.init({ env:"cloud1-9gi73u0tdf91dfdb"})

exports.main = async (event, context) => {
  return await cloud.database().collection("user_Info").where({openid:event.openid}).get().then(res=>{
    return res
}).catch(err=>{
  return err
})
}